/*
 * @Author: wwj 3342930399@qq.com
 * @Date: 2024-03-07 17:51:38
 * @LastEditors: wwj 3342930399@qq.com
 * @LastEditTime: 2024-03-13 17:33:37
 * @FilePath: \vue\src\views\Home\route.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const RouteLists = [
  {
    path: "/main/index",
    name: "main",
    component: () => import("./index.vue"),
    role: 1,
    text: "首页",
    children: [
      {
        path: "/main/home",
        name: "home",
        component: () => import("../Home/index.vue"),
        role: 1,
        text: "首页",
      },
      {
        path: "/main/message",
        name: "message",
        component: () => import("./message.vue"),
        role: 1,
        text: "信息管理",
        children: [
          {
            path: "/message/student",
            name: "message-student",
            component: () => import("../Message/sutdent.vue"),
            role: 1,
            text: "学生信息",
          },
          {
            path: "/message/curriculum",
            name: "message-curriculum",
            component: () => import("../Message/curriculum.vue"),
            role: 1,
            text: "课表信息",
          },
          {
            path: "/message/invigilate",
            name: "message-invigilate",
            component: () => import("../Message/invigilate.vue"),
            role: 1,
            text: "监考信息",
          },
        ],
      },
      {
        path: "/main/score",
        name: "score",
        component: () => import("./score.vue"),
        role: 1,
        text: "成绩管理",
        children: [
          {
            path: "/score/index",
            name: "score-index",
            component: () => import("../Score/index.vue"),
            role: 1,
            text: "学生成绩",
          },
        ],
      },
      {
        path: "/main/apply",
        name: "apply",
        component: () => import("./apply.vue"),
        role: 1,
        text: "申请管理",
        children: [
          {
            path: "/apply/leave",
            name: "apply-leave",
            component: () => import("../Apply/leave.vue"),
            role: 1,
            text: "请假申请",
          },
          {
            path: "/apply/adjuest",
            name: "apply-adjuest",
            component: () => import("../Apply/adjuest.vue"),
            role: 1,
            text: "调课申请",
          },
        ],
      },
      {
        path: "/main/notice",
        name: "notice",
        component: () => import("../Notice/index.vue"),
        role: 1,
        text: "通知管理",
      },
      {
        path: "/main/teacher",
        name: "teacher",
        component: () => import("../Teacher/teacher.vue"),
        role: 1,
        text: "用户管理",
      },
    ],
  },
];
